package com.eastfair.pay.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 发票申请
 * </p>
 *
 * @author clm
 * @since 2022-08-06
 */
@Data
@ApiModel(value = "InvoiceApplyerRelationUpdateDTO", description = "发票申请")
public class InvoiceApplyerRelationDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 发票申请id
     */
    @ApiModelProperty(value = "发票申请id")
    private Long applyId;
    /**
     * 业务id
     */
    @ApiModelProperty(value = "业务id")
    private Long businessId;

    /**
     * 业务订单号
     */
    @ApiModelProperty(value = "业务订单号")
    private String businessNum;
    /**
     * 开票数量
     */
    @ApiModelProperty(value = "开票数量")
    private Integer count;
    /**
     * 开票单价
     */
    @ApiModelProperty(value = "开票单价")
    private BigDecimal unitPrice;
    /**
     * 开票金额
     */
    @ApiModelProperty(value = "开票金额")
    private BigDecimal amount;
    /**
     * 税率
     */
    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;
    /**
     * 税额
     */
    @ApiModelProperty(value = "税额")
    private BigDecimal taxAmount;
    /**
     * 费用类型
     */
    @ApiModelProperty(value = "费用类型")
    private String costType;

}
